<!--<div class="container">-->
<!--    <div class="row">-->
<!--        <div class="col-lg-10 mt-5 mb-5">-->
<!--            <table border="1">-->
<!--                <tbody>-->
<!--                <tr th:each="stock: ${stocks}">-->
<!--                    <td th:text="${stock.symbol}">Symbol</td>-->
<!--                </tr>-->
<!--                </tbody>-->
<!--            </table>-->
<!--        </div>-->
<!--    </div>-->
<!--</div>-->
<form id="stock_sub_form" th:action="@{/subscriptions}" th:object="${stockSymbol}" method="post">
    <!--        <li th:each="stock : ${stocks}">-->
    <div th:each="stock : ${stocks}">
        <input type="radio" th:field="*{symbol}" th:value="${stock.symbol}"/>
        <label th:text="${stock.symbol} + ' - ' + ${stock.name}"></label>
    </div>
</form>